package cre.spring.javaconfig5;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author guchenbo
 * @Date 2019/4/20.
 */
@Configuration
public class JavaConfig {

    @Bean
    public Foo foo(){
        return new Foo();
    }
}
